package com.quanxiaoha.xiaohashu.user.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quanxiaoha.framework.common.response.Response;
import com.quanxiaoha.xiaohashu.user.biz.domain.dataobject.UserDO;
import com.quanxiaoha.xiaohashu.user.biz.model.vo.UpdateUserInfoReqVO;
import com.quanxiaoha.xiaohashu.user.dto.req.FindUserByIdReqDTO;
import com.quanxiaoha.xiaohashu.user.dto.req.FindUserByPhoneReqDTO;
import com.quanxiaoha.xiaohashu.user.dto.req.RegisterUserReqDTO;
import com.quanxiaoha.xiaohashu.user.dto.req.UpdateUserPasswordReqDTO;
import com.quanxiaoha.xiaohashu.user.dto.resp.FindUserByIdRspDTO;
import com.quanxiaoha.xiaohashu.user.dto.resp.FindUserByPhoneRspDTO;

/**
 * @author jingyanliu
 * @description 针对表【t_user(用户表)】的数据库操作Service
 * @createDate 2025-07-21 17:46:16
 */
public interface UserService extends IService<UserDO> {
	Response<?> updateUserInfo(UpdateUserInfoReqVO updateUserInfoReqVO);
	
	Response<Long> register(RegisterUserReqDTO registerUserReqDTO);
	
	Response<FindUserByPhoneRspDTO> findByPhone(FindUserByPhoneReqDTO findUserByPhoneReqDTO);
	
	Response<?> updatePassword(UpdateUserPasswordReqDTO updateUserPasswordReqDTO);
	
	Response<FindUserByIdRspDTO> findById(FindUserByIdReqDTO findUserByIdReqDTO);
}
